Public key encryption for groups

ABSTRACT

A system is comprised of a user and a group, wherein the group is comprised of a group leader and a group of M members where M is equal to or greater than one. The group leader generates a group public key and a group leader “master” private key. The group leader creates a personalized watermarked or decryption key, also referred to as an individual private key, for each group member. The individual private key uniquely identifies each group member. The group leader distributes the individual private keys to each of the group members. Each group member receives from a user a message encrypted using the group public key. Each of the group members uses its individual private key to decrypt the encrypted message sent by the user to the group.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is entitled to the benefit of, and claims priority to provisional U.S. patent application Ser. No. 60/531,263 filed on Dec. 22, 2003, and U.S. patent application Ser. No. 60/531,695, filed on Dec. 23, 2003, each of which is incorporated herein by reference in its entirety.

FIELD OF THE INVENTION

The present invention relates to a system and a method for securely distributing and identifying computer-generated cryptographic keys.

BACKGROUND OF THE INVENTION

Businesses and individuals are increasingly dependent on computers and computer-based electronic communication. More and more businesses are moving toward “paperless” modes of operation, and the convenience of the Internet has resulted in individuals using electronic media for various activities, such as communicating via email, banking, paying bills, investing money and shopping, to name but a few. While businesses and individuals desire the convenience of electronic communication, these entities also want to maintain at least the same level of security that more traditional methods of communication offer. However, more traditional methods of communication are inherently more secure than electronic communication because of the relative ease with which computers may be used to intercept the information being communicated between two or more computers. Accordingly, cryptography techniques have been created to secure information being communicated electronically.

Cryptography is the study of sending messages in a secret form so that only those authorized to receive the message be are able to read it. Cryptography may be used for any form of communication, but for the purposes of this application, electronic cryptography will be discussed. For electronic communication, a message is transformed into a secret form using a cryptographic key and then may be transformed back into its original or clear form with a cryptographic key. Examples of cryptographic techniques include symmetric encryption, asymmetric encryption and hashing.

Symmetric encryption involves using a single shared key among all users communicating with one another. A message is locked (encrypted) with a key and then the same key is used to unlock (decrypt) the message. In order to protect a message when using symmetric encryption, it is vital to have a secure method to exchange the secret key to all users.

Asymmetric encryption involves using a key pair to secure information. A key pair is comprised of a private key (decryption key), which is known only to a single user or a limited group of users, and a public key (encryption key), which may be known by anyone. In order to encrypt and decrypt a message, both the private key and public key of the key pair must be used. For example, a message will be encrypted by a sender using the public key of the intended recipient of the message. Once the recipient receives the encrypted message, his or her private key is used to decrypt the message.

Hashing involves transforming an input message of any size into an output or hash value of another, generally smaller, size using a mathematical algorithm. The hash value is known as the message digest. The message digest is a “digital fingerprint” of the input message and serves to maintain integrity of the hashed message by allowing a recipient to verify that the message has not been tampered with since being hashed. Ultimately, in order to maintain security of the encrypted and/or hashed message or information, the key or hash function must be protected.

A system using more than one cryptographic technique provides a greater level of security for the information being stored and communicated by the system. However, a system with multiple users and applications such as a network computer system, using multiple cryptographic techniques to protect multiple messages and pieces of information, results in a large volume of keys being generated and utilized. However, a user such as a person, computer, or software application may want to send information and/or other data to a select group in a system with multiple members without having to send it to each member individually. For example, a user may want to send a message to one recipient which distributes the message to all the members of a group as opposed to sending a message to each recipient, especially if there are potentially hundreds or thousands of recipients. It may be desirable for any one of the recipients to be able to open the email, for example, and receive the information independently of the other recipients. It may be desirable to know exactly which recipient opened the message for purposes of maintaining the security and integrity of the system. However, in order to achieve this recipient identification with currently available systems, the information, data and/or message would need to be encrypted with a public key for each group member. Each group member would use its private key to decrypt the information and/or data Although it is more secure to use individual public and private key pairs, it becomes increasingly more time consuming when there are, for example, hundreds or thousands of members in a group. It is less efficient and slower to generate more key pairs. Therefore, there is a need to increase efficiency yet maintain the security associated therewith. There is also a desire to have the capability to know which member of the group has received, opened or decrypted the information using its private key.

SUMMARY OF THE INVENTION

The present invention relates to a system and method for public key encryption for groups. The system comprises a user and a group wherein the group is comprised of a group leader and a group of M members where M is equal to or greater than one.

According to the method of the present invention, the group leader generates a group public key and a group leader “master” private key. The group leader creates a personalized or watermarked decryption key, also referred to as an individual private key, for each group member. The individual private key uniquely identifies each group member. The group leader distributes the individual private keys to each of the group members. Each group member receives from a user a message encrypted using the group public key. Each of the group members uses its individual private key to decrypt the encrypted message sent by the user to the group.

Further areas of applicability of the present invention will become apparent from the detailed description provided hereinafter. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will become more fully understood from the detailed description and the accompanying drawings, wherein:

FIG. 1 is a block diagram of a system for public key encryption for groups in accordance with the present invention.

FIG. 2 is a flowchart illustrating the method of public key encryption for groups in accordance with the present invention.

FIG. 3 is a block diagram of a method of distributing keys by the group leader in accordance with the present invention.

FIG. 4 is a block diagram of a computer network system suitable for use with the present invention.

FIG. 5 is a flow diagram illustrating a compact and secure authentication token employing public key encryption for groups in accordance with the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

The following description of the preferred embodiment(s) is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses. The present application has broad potential applications and utility, which is contemplated to be adaptable to a wide range of entities for distributing and identifying cryptographic keys within a system, preferably a computer network system. For example, it is contemplated that the present invention would be beneficial for use by any bank that provides online banking services, such as statement review, bill paying and/or investing, to its customers. Additionally, it is contemplated that the system and method of the present invention would be equally beneficial to be used by any retail business that provides online retail services. Further, the system and method of the present invention would be beneficial to any business using computers to store, access, process or use information, particularly if that business uses an intranet for communication between multiple locations. The following description is provided herein solely by way of example for purposes of providing an enabling disclosure of the invention, but does not limit the scope or substance of the invention.

FIG. 1 is a block diagram of a system 10 for public key encryption for groups in accordance with the present invention. Preferably, the system 10 is a computer network system. As shown in FIG. 1, the system 10 of the present invention comprises a user 12 and a group 14. The group 14 is comprised of a group leader 16 and a group of M members 18, where M is greater than or equal to one. It is presumed that the group leader 16 is to be trusted by all group members 18 and that the public key encryption system is secure. A group member 18 includes, but is not limited to, a person, a computer, or a software application. The group illustrated in FIG. 1 has M members with M equal to or greater than one. There is no limit to the number of users and group members in the system.

FIG. 2 is a flowchart illustrating the method of public key encryption for groups in accordance with the present invention. The group leader 16 generates a group public key and a group leader “master” private key as shown in step 21. The group leader 16 creates a personalized watermarked or decryption key 30, also referred to as an individual private key, for each group member 18 as shown in step 22. The individual private key 30 uniquely identifies each group member 18. The group leader 16 distributes the individual private keys 30 to each of the group members 18 as shown in step 23. Once the private keys 30 have been distributed, communication with the group 14 may be accomplished by encrypting a message using the group public key. All group members 18 then receive the message as shown in step 24. Finally, each of the group members 18 uses its individual private key to decrypt the encrypted message sent by the user 12 to the group 14 as shown in step 25.

FIG. 3 is a block diagram of illustrating a method of distributing a public-private key pair by the group leader 16 to the group members 18 in accordance with step 23 of FIG. 2. The group leader 16 generates a public key for the group 14 and the individual private key 30 for each of the group members 18. The group public key and the respective private keys 30 thus define a unique public-private key pair for each group member 18. The group leader 16 distributes each private key to the respective group member 18 for which it was generated. Each group member 18 is then able to decrypt with its own private key 30, independently of the other group members 18, any message encrypted with the single group public key. However, because each private key 30 is personalized, the system 10 discourages unauthorized disclosure of any group member's private key 30 to unauthorized third parties.

The public-private key pair can be generated in accordance with a standard or proprietary asymmetric encryption method. Examples of such asymmetric encryption methods suitable for use with the present invention include, but are not limited to, RSA, Rabin, variants of RSA, and variants of Rabin. However, the following discussion assumes that the public and private keys used are established in accordance with RSA encryption.

When the group leader 16 generates a public-private key pair for use in the RSA encryption method, the group leader 16 selects two large prime numbers, represented by (p, q) in equations (1) and (2), according to known RSA principles. Preferably, the minimum size of each of p and q is at least 512 bits. N, which represents the first part of the RSA public key for the group, may be computed as follows: N=p×q  (1) φ(N)=(p−1)×(q−1)  )2)

The group leader 16 also generates a pair of public and private exponents (e, d), where e is the second part of the public key for the group 14 and d is a master private key that is used to manufacture the private keys 30 for all of the group members 18. The exponents e and d are selected such that the product of e and d satisfies equation (3): e×d=1 mod φ(N)  (3) The private exponent d becomes the group leader's private key. In addition, as stated previously, the group leader 16 utilizes the private exponent d to create a personalized decryption key 30, also referred to as an individual private key, for each of the group members. The decryption keys d_(i) are computed according to the following equation (4): d _(i) =d+HASH₃₂(d, N, e, ID_(i) , Z)×φ(N)  (4) where + and × are ordinary integer addition and multiplication operations, ID_(i) is a personal identifier for the specific group member i, such as name or email address; HASH₃₂ represents a one-way hash function in which the first 32 bits of the output are utilized; and Z represents a data string that is shared among all group members. The personal identifier ID_(i) may be any unique value, but is preferably a meaningful data string such as a user's name or email address. The hash algorithm may be any standard or proprietary hash algorithm. An example of a suitable hash algorithm includes, but is not limited to, SHA-1. In the present embodiment, the hash algorithm preferably provides an output of at least 32 bits. However, it is within the scope of the present invention that larger numbers of output bits (such as 64 or the like) may likewise be used for even greater security, but that a hash function that produces at least that many bits will then be required. Z may be any additional control data, but unlike the ID_(i) is not usually personalized to the individual user. An example of control data that might be used for Z is a timestamp.

A first group member (Group Member 1) would thus have a private key computed as shown in equation (5): d ₁ =d+HASH₃₂(d, N, e, ID₁ , Z)×φ(N)  (5) where ID₁ is the personal identifier for Group Member 1 such as name or email address.

The ID is the factor or component that makes each decryption key unique. However, this value is included in the hash function so that this identifying information is preferably not explicitly in the key.

It will be noted that the hash function in equation (4) utilizes both parts of the public key (N, e) for the group. It may be appreciated that the individual private keys may alternatively be computed instead by hashing the public key certificate Cert_(N), which incorporates both N and e therein, according to equation (6): d _(i) =d+HASH₃₂(d, Cert_(N), ID_(i) , Z)×φ(N)  (6)

Once the individual private keys d_(i) have been computed according to one of the foregoing approaches, the group leader 16 then distributes the individual private keys d_(i) to the i-th member in the group in a secure manner. The group leader retains the master decryption key d. There are any number of ways to distribute keys as is known to one of ordinary skill in the art. If the system and method of the present invention are to be utilized for “external” communications between one certifying entity and another, then a preferred way is for the group leader 16 to distribute private keys d_(i) along with a group public key certificate Cert_(N), which as noted previously incorporates both parts (N, e) of the public key for the group. The public key certificate Cert_(N) identifies the purpose of the private key.

In operation, a user 12 uses the asymmetric encryption algorithm for which the keys were established to encrypt a message for the group 14, using the group's public key (N, e), and sends it to the group 14.

In the instance that RSA encryption is used, the message is encrypted by the user in accordance with equation (7). C=T^(e) mod N  (7) wherein

C is the encrypted message,

T is the unencrypted message, and

e and N are defined as above.

Likewise, the group leader and each of the group members 18 may decrypt the encrypted message using RSA decryption, independently of the other group members, using their personalized decryption keys or individual private keys in accordance with equations (8) and (9), respectively. T=C^(d) mod N  (8) T=C^(di) mod N  (9) wherein

T is the unencrypted message,

C is the encrypted message, and

d, d_(i) and N are as defined above.

A group member 18 can correctly recover the message because of equation (10) set forth below. C ^(di) mod N=C ^(d) ×C ^(HASH) ₃₂ ^((N, e, Idi, Z)×φ(N)) mod N=T  (10) wherein C^(HASH) ₃₂ ^((N, e, IDi, Z)×φ(N))=1 mod N.

Other asymmetric decryption methods such as RSA, Rabin, variants of RSA, and variants of Rabin can be used. Preferably, an asymmetric encryption method such as RSA decryption is used.

In the event of a key being disclosed to a third party, the group leader 16 may use p and q to identify the group member 18 who disclosed the decryption key so the group leader 16 knows which group member opened it. This can be accomplished by searching the list of member-decryption key pairs or recomputing the decryption key according to equation (6) to see which ID_(i) will result in a d_(i) that matches the disclosed private key. Thus, an advantage of the system and method of the present invention is that by sending a personalized decryption or individual private key, it is possible to identify the group member 18 who is the discloser.

An application in which the system and method of the present invention may be employed is for compact and secure authentication tokens in a computer network system.

FIG. 4 is a block diagram of a computer network system 40 suitable for use with the present invention. The computer network system 40 is comprised of a user 42, a webserver 44, a login authentication server 46, an application server 48, a server 50, and database 52. The user 42 logs into the computer network system 40 and enters its userid and password. This information is transmitted by the webserver 44 to the login authentication server 46 which authenticates the information and creates a token which is transmitted to the webserver 44. The webserver 44 transmits the token to the application server 48. The token should be verifiable by the application server 48 of its origin. The application server 48 communicates with the mainframe 50 to provide the user with the requested service.

The token that is created by the login authentication server 46 is referred to as an authentication token. It is typically issued as a cookie. The token has no size limitation. However, it is preferable for the token to be as compact as possible. One of ordinary skill in the art will recognize that the degree of compaction depends upon the encryption method employed. Additionally, the token may be encrypted to ensure the confidentiality of its contents. The token may also be wrapped with additional information and/or data The token is signed and encrypted with a token encryption key as illustrated in FIG. 5. While the login authentication server 46 needs to sign the token only once, it may encrypt the token more than once. The exact number of encryption operations is determined by the specific encryption technique used. Thus, it is preferred to use the system and method of public key encryption for groups of the present invention. If there is more than one application server 46, all application servers share the same public key. With this approach, a token is signed and then encrypted only once regardless of the number of application servers. If an attacker were to successfully break into an application server 46 and steal the token key, the confidentiality of the tokens would be compromised and in such situation, it would be desirable to be able to identify with ease which token key has been compromised. This is an advantage offered with the system and method of the present invention. With this system and method, there will be only one public encryption key for all servers. However, each application server 48 will have a personalized decryption key or individual private token key from which one cannot determine the decryption key of another application server. These private keys, although different, perform the same function, namely to correctly decrypt a message using the same public key. Since the decryption keys are personalized, it makes it possible to identify a compromised application server from the information contained in the compromised decryption key.

The system of public key encryption for groups of the present invention when used for authentication tokens preferably employs an asymmetric encryption method. More preferably, RSA encryption is used. If RSA encryption is used to generate an authentication token, a token is first signed using the standard RSA signature scheme. The signed token is expanded due to the attached RSA signature. The signed token is then encrypted using the method of public key encryption for groups of the present invention. To validate the authentication token, the encrypted signed token is decrypted by a group member using its individual private key, and the decrypted token is verified to confirm the authenticity of the token by using the RSA signature process.

It will therefore be readily understood by those persons skilled in the art that the present invention is susceptible of broad utility and application. Many embodiments and adaptations of the present invention other than those herein described, as well as many variations, modifications and equivalent arrangements, will be apparent from or reasonably suggested by the present invention and the foregoing description thereof, without departing from the substance or scope of the present invention. Accordingly, while the present invention has been described herein in detail in relation to its preferred embodiment, it is to be understood that this disclosure is only illustrative and exemplary of the present invention and is made merely for purposes of providing a full and enabling disclosure of the invention. The foregoing disclosure is not intended or to be construed to limit the present invention or otherwise to exclude any such other embodiments, adaptations, variations, modifications and equivalent arrangements. 

1. A system for public key encryption for groups, the system comprising: a user, and a group comprised of a group leader and at least one group member, wherein the group has a single public key for the group and an individual private key for each group member.
 2. The system according to claim 1, wherein the system is a computer network system.
 3. The system according to claim 2, wherein the computer network system is for banking, investing, or retail services.
 4. The system according to claim 1, wherein the single public key and individual private keys are generated by the group leader.
 5. The system according to claim 4, wherein the single public key and individual private keys are generated using asymmetric encryption.
 6. The system according to claim 5, wherein the asymmetric encryption is selected from the group consisting of RSA, Rabin, variants of RSA, and variants of Rabin.
 7. The system according to claim 6, wherein the asymmetric encryption is RSA.
 8. A method for public key encryption for groups, the method comprising: generating a group public key and a group leader private key by a group leader of a group having at least one group member, creating an individual private key for each group member by the group leader, and distributing the individual private key to each group member by the group leader.
 9. The method according to claim 8, further comprising receiving by the group from a user a message encrypted using the group public key.
 10. The method according to claim 9, further comprising decrypting the encrypted message sent by the user to the group by a group member using its individual private key.
 11. The method according to claim 9, wherein the message is encrypted using asymmetric encryption.
 12. The method according to claim 11, wherein the asymmetric encryption is selected from the group consisting of RSA, Rabin, variants of RSA, and variants of Rabin.
 13. The method according to claim 12, wherein the asymmetric encryption is RSA.
 14. The method according to claim 13, wherein the individual private key is created for each group member according to formula (5): d _(i) =D+HASH₃₂(d, N, e, ID_(i) , Z) φ(N)  (5) wherein d_(i) is the individual private key for group member i where i equals 1 to M, M is the number of members in the group, d is a private exponent, e is a public exponent, p is a prime number, q is a prime number, ID_(i) is the identification for group member i, Z is a data string that is shared among all group members, N=p*q, and φ(N) is=(p−1)(q−1).
 15. The method according to claim 10, wherein the message is decrypted using asymmetric decryption.
 16. The method according to claim 15, wherein the asymmetric decryption is selected from the group consisting of RSA, Rabin, variants of RSA, and variants of Rabin.
 17. The method according to claim 16, wherein the asymmetric decryption is RSA.
 18. The method according to claim 17, wherein the individual private key is decrypted by the group member according to formula (9): T=C^(di) mod N  (9) wherein T is the unencrypted message, C is the encrypted message, d_(i) is the individual private key for group member i where i equals 1 to M, M is the number of members in the group, p is a prime number, q is a prime number, and N=p*q.
 19. A method of generating an authentication token in a system comprised of a group having a group leader and at least one group member wherein the group has a single public key and each group member has an individual private key, the method comprising: obtaining a token, signing the token, and encrypting the signed token using the single public key for the group.
 20. The method according to claim 19, wherein the token is signed with a digital signature.
 21. The method according to claim 19, wherein the signed token is encrypted using asymmetric encryption.
 22. The method according to claim 21, wherein the asymmetric encryption is selected from the group consisting of RSA, Rabin, variants of RSA, and variants of Rabin.
 23. The method according to claim 22, wherein the asymmetric encryption is RSA.
 24. An authentication token generated according to the method of claim
 19. 25. A method of validating an authentication token, the method comprising: obtaining an encrypted signed token having been encrypted using a single public key, decrypting the encrypted signed token using an individual private key, and verifying the decrypted token to confirm the authenticity of the token.
 26. The method according to claim 25, wherein the encrypted signed token is decrypted using asymmetric decryption.
 27. The method according to claim 26, wherein the asymmetric decryption is selected from the group consisting of RSA, Rabin, variants of RSA, and variants of Rabin.
 28. The method according to claim 27, wherein the asymmetric decryption is RSA. 